using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class CNGUOIDUNGDTO
    {
        #region "Atributes"
        private int m_MaNguoiDung;
        private string m_TenDangNhap;
        private string m_MatKhau;
        private string m_TenNguoiDung;
        private DateTime m_NgaySinh;
        private string m_CMND;
        private string m_DiaChi;
        private string m_DienThoai;
        private string m_GioiTinh;
        private bool m_TinhTrang;
        private int m_MaLoaiNguoiDung;
        #endregion
        #region "Property"
        public int MaNguoiDung
        {
            get { return m_MaNguoiDung; }
            set { m_MaNguoiDung = value; }
        }
        public string TenDangNhap
        {
            get { return m_TenDangNhap; }
            set { m_TenDangNhap = value; }
        }

        public string MatKhau
        {
            get { return m_MatKhau; }
            set { m_MatKhau = value; }
        }

        public string TenNguoiDung
        {
            get { return m_TenNguoiDung; }
            set { m_TenNguoiDung = value; }
        }

        public DateTime NgaySinh
        {
            get { return m_NgaySinh; }
            set { m_NgaySinh = value; }
        }
        public string CMND
        {
            get { return m_CMND; }
            set { m_CMND = value; }
        }

        public string DiaChi
        {
            get { return m_DiaChi; }
            set { m_DiaChi = value; }
        }

        public string DienThoai
        {
            get { return m_DienThoai; }
            set { m_DienThoai = value; }
        }

        public string GioiTinh
        {
            get { return m_GioiTinh; }
            set { m_GioiTinh = value; }
        }
        public bool TinhTrang
        {
            get { return m_TinhTrang; }
            set { m_TinhTrang = value; }
        }
        public int MaLoaiNguoiDung
        {
            get { return m_MaLoaiNguoiDung; }
            set { m_MaLoaiNguoiDung = value; }
        }
        #endregion
        #region "Constructors"
        public CNGUOIDUNGDTO()
        {
            MaNguoiDung = 0;
            TenDangNhap = "";
            MatKhau = "";
            TenNguoiDung = "";
            NgaySinh = DateTime.Parse("1 / 1 / 1900");
            CMND = "";
            DiaChi = "";
            DienThoai = "";
            GioiTinh = "Nam";
            TinhTrang = false;
            MaLoaiNguoiDung = 0;
        }
        public CNGUOIDUNGDTO(int maNguoiDung, string tenDangNhap, string matKhau, string tenNguoiDung, DateTime ngaySinh, string cMND, string diaChi, string dienThoai, string gioiTinh, bool tinhTrang, int maLoaiNguoiDung)
        {
            MaNguoiDung = maNguoiDung;
            TenDangNhap = tenDangNhap;
            MatKhau = matKhau;
            TenNguoiDung = tenNguoiDung;
            NgaySinh = ngaySinh;
            CMND = cMND;
            DiaChi = diaChi;
            DienThoai = dienThoai;
            GioiTinh = gioiTinh;
            TinhTrang = tinhTrang;
            MaLoaiNguoiDung = maLoaiNguoiDung;
        }
        #endregion
    }
}
